package com.eastseeway.radioproject.entities;

import androidx.annotation.Keep;

import java.io.Serializable;

import struct.ArrayLengthMarker;
import struct.StructClass;
import struct.StructField;
@Keep
@StructClass
public class BeanFromBottomBoard implements Serializable {
    // 显式声明序列化版本号
    private static final long serialVersionUID = 1L;  // 需根据实际版本管理
    @StructField(order = 0)
    private short Vbus_v; //底板电源总线电压V x100
    @StructField(order = 1)
    private short Ibus_mA; //底板电源总线电流mA x100
    @StructField(order = 2)
    private short Box_T;  //机箱工作温度 x100
    @StructField(order = 3)
    private short AM11173v3_V;//AM1117转3.3V输出电压 x100
    @StructField(order = 4)
    private short Vbus_Set_Value;//底板接收到的Vbus设置值V x100
    @StructField(order = 5)
    private short Ncxx;//用于4字节对齐

    @StructField(order = 6)
    private int fault;
    @StructField(order = 7)
    private int  wk_status;
    @StructField(order = 8)
    private int dev_status;

    public short getVbus_v() {
        return Vbus_v;
    }

    public void setVbus_v(short vbus_v) {
        Vbus_v = vbus_v;
    }

    public short getIbus_mA() {
        return Ibus_mA;
    }

    public void setIbus_mA(short ibus_mA) {
        Ibus_mA = ibus_mA;
    }

    public short getBox_T() {
        return Box_T;
    }

    public void setBox_T(short box_T) {
        Box_T = box_T;
    }

    public short getAM11173v3_V() {
        return AM11173v3_V;
    }

    public void setAM11173v3_V(short AM11173v3_V) {
        this.AM11173v3_V = AM11173v3_V;
    }

    public short getVbus_Set_Value() {
        return Vbus_Set_Value;
    }

    public void setVbus_Set_Value(short vbus_Set_Value) {
        Vbus_Set_Value = vbus_Set_Value;
    }

    public short getNcxx() {
        return Ncxx;
    }

    public void setNcxx(short ncxx) {
        Ncxx = ncxx;
    }

    public int getFault() {
        return fault;
    }

    public void setFault(int fault) {
        this.fault = fault;
    }

    public int getWk_status() {
        return wk_status;
    }

    public void setWk_status(int wk_status) {
        this.wk_status = wk_status;
    }

    public int getDev_status() {
        return dev_status;
    }

    public void setDev_status(int dev_status) {
        this.dev_status = dev_status;
    }
}
